package net.borlis.sample.web.context;

/**
 * The SOAP dynamix-config-tool service.
 *
 * @author alex@borlis.net
 */
public abstract class SoapService extends DynamixWebService<SoapWeldWebContext> {

    public static final String RESPONSE_LOG_PATTERN = "%s response =>\n %s";
    public static final String REQUEST_LOG_PATTERN = "%s request =>\n %s";

    @Override
    public Class<SoapWeldWebContext> getContextClass() {
        return SoapWeldWebContext.class;
    }

    public SoapExecutorWeldWebContext getSoapContext() {
        return SoapExecutorWeldContainer.getInstance().getContext();
    }

}
